Kanzi 4.0.0-beta2
kanzi::gfx::DepthStencilStateCreateInfo Struct Reference

Creation information for a depth stencil state. More...

#include <kanzi/gfx/create_info.hpp>

Inheritance diagram for kanzi::gfx::DepthStencilStateCreateInfo:
[legend]

Classes

struct  StencilOperationState
 Describes a stencil operation state. More...
 

Public Types

using HandleType
 Depth stencil state handle.
 

Public Attributes

StencilOperationState backState
 The stencil operation for the back.
 
ComparisonFunction depthComparison
 The comparison function to use for depth testing.
 
bool depthEnabled
 Indicates whether depth testing is enabled.
 
bool depthWriteEnabled
 Indicates whether depth writing is enabled.
 
StencilOperationState frontState
 The stencil operation for the front.
 
bool stencilEnabled
 Indicates whether stencil testing is enabled.
 
- Public Attributes inherited from kanzi::gfx::BaseCreateInfo
string_view name
 The name of the graphics object, useful for debugging.
 

Detailed Description

Creation information for a depth stencil state.

Since
Kanzi 4.0.0

Member Typedef Documentation

◆ HandleType

Member Data Documentation

◆ depthEnabled

bool kanzi::gfx::DepthStencilStateCreateInfo::depthEnabled

Indicates whether depth testing is enabled.

◆ depthWriteEnabled

bool kanzi::gfx::DepthStencilStateCreateInfo::depthWriteEnabled

Indicates whether depth writing is enabled.

◆ depthComparison

ComparisonFunction kanzi::gfx::DepthStencilStateCreateInfo::depthComparison

The comparison function to use for depth testing.

◆ stencilEnabled

bool kanzi::gfx::DepthStencilStateCreateInfo::stencilEnabled

Indicates whether stencil testing is enabled.

◆ backState

StencilOperationState kanzi::gfx::DepthStencilStateCreateInfo::backState

The stencil operation for the back.

◆ frontState

StencilOperationState kanzi::gfx::DepthStencilStateCreateInfo::frontState

The stencil operation for the front.


The documentation for this struct was generated from the following file: